package pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
//课程
public class Course {
    private int courseId;
    private String courseName;

    //查询课程时，同时查询选择该课程的学生（多对多查询2）
    private List<Student> studentList;
}
